<!DOCTYPE html>
<html lang="utf-8">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>易备安数据管理平台</title>

    <!-- Bootstrap -->
    <link href="/web/css/bootstrap/bootstrap.min.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="/web/css/basic.css">
    <link rel="stylesheet" type="text/css" href="/web/css/client-common.css">
    <link rel="stylesheet" type="text/css" href="/web/css/g.css">
    <link rel="stylesheet" type="text/css" href="/web/css/global.css">
    <link rel="stylesheet" type="text/css" href="css/filelist.css">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
    	
</style>
</head>
<body>
<div class="container  data-grid ">
<input type="hidden" id="h_path">
<input type="hidden" id="h_dsId">
<input type="hidden" id="h_version">
<input type="hidden" id="h_bartd_id">
<input type="hidden" id="h_nid">
    <div class="grid-toolbar">
    	<div class="search-box clearfix">
		    <div class="search-group  search-group-doc">
		        <input type="text" id="currentPath" disabled size="60">		        
		    </div>
		    <a id="back" href="" class="clearfix btn j-search">回上级目录</a>
		    <a style="margin:0 20px" href="javascript:toRecoveryPage()" class="clearfix btn j-search">返回数据源列表</a>
	    </div>
    </div>
    <div id="content" style="height:400px;overflow-y:auto;overflow-x:hidden; ">
        <table id="fTable">
            <thead id="fHead">
            <tr class="info">
            <th width="20%">文件名</th>
            <th width="20%">文件类型</th>
            <th width="20%">文件大小</th>
            <th width="20%"></th>
            <td width="20%" nid="" class="bartd" id="bartd_total"><button class="btn" onclick="recoveryWholeDs('bartd_total')">恢复整个数据源</button></td>
            </tr>
            </thead>
            <tbody class='tbody' id="fBody">
            	<td colspan="5" style="text-align: center;">如果本地缓存不存在，则目录将从服务器下载。可能需要几十秒时间，请稍后...</td>
            </tbody>
        </table>

    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/web/js/jquery/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/web/js/bootstrap/bootstrap.min.js"></script>
<script src="/web/js/jquery_rest.js"></script>
<script src="/web/js/ebeim.js"></script>
<script src="/web/js/global.js"></script>
<script src="js/filelist.js"></script>

<script>
    
    
</script>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" style="max-height:500px;overflow-y:auto" 
   aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" 
               data-dismiss="modal" aria-hidden="true">
                  &times;
            </button>
            <h4 class="modal-title" id="myModalLabel">
             点击获取验证码，系统将向您的手机发送验证码。
            </h4>
         </div>
         <div class="modal-body" id="modal-body" style="text-align: center;">
            <input style="margin-right:15px;" class="input input-large" type="text" id="dynamicCode"/>
            <button id="sendCodeBtn" onclick="send()" class="btn btn-success">获取验证码</button>
         </div>
         <div class="modal-footer">
            <!-- <button type="button" class="btn btn-default" 
               data-dismiss="modal">关闭
            </button> -->
            <button onclick="setDynamicCode()" type="button" class="btn btn-primary">
              确定
            </button>
         </div>
      </div><!-- /.modal-content -->
	</div>
</div>
<div class="window">
	<div class="w-head">
		<table width="90%" height="40px" align="center">
			<tr>
				<td width="20%" >数据恢复至</td>
				<td id="ab-dir" width="60%" style="background:#fff;" ></td>
				<td width="20%" style="text-align:center"><button class="btn btn-default" onclick="selectParentPath()">返回上一级</button></td>
			</tr>
		</table>
	</div>
	<div class="w-dir-list">
		<ul>
		</ul>
	</div>
	<div class="w-dir-confirm">
		<button id="recoveyBtn" class="btn btn-success" onclick="confirmDir()">确定</button>
		<button class="btn btn-default" onclick="cancelDir()">取消</button>
	</div>
</div>
<div class="shadowDiv" id="versionWindow_shadowDiv"></div>
<div class="dialogDiv" id="versionWindow" style="width:450px;height:350px">
	<div class="dialogTipDiv">提示<span class="dialogTipContentSpan">信息</span></div>
	<div class="dialogContentDiv" style="height:250px;overflow-y:auto;">
		<ul class="filechangelog-ul"></ul>
	</div>
	<div class="dialogOprtDiv">
		<!-- <button onclick=";" class="btn green">确定</button> -->
		<button onclick="hideDialog('versionWindow')" class="btn btn-default">取消</button>
	</div>
</div>
</body>